Skip to content

Conversation

@platosha
Copy link
Contributor

Fixes #22517

@vaadin vaadin deleted a comment from github-actions bot Oct 15, 2025
@github-actions
Copy link

github-actions bot commented Oct 15, 2025

Test Results

1 276 files  ±0  1 276 suites  ±0   1h 17m 52s ⏱️ + 1m 37s
8 810 tests +1  8 743 ✅ +1  67 💤 ±0  0 ❌ ±0 
9 266 runs  +9  9 189 ✅ +9  77 💤 ±0  0 ❌ ±0 

Results for commit 44b1758. ± Comparison against base commit 4d27111.

♻️ This comment has been updated with latest results.


protected <T> List<String> merge(Map<T, List<String>> css) {
protected <T> List<String> merge(Map<T, List<String>> outputFiles) {
// Ignore app shell imports and definitions for bundle build detection,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't app shell imports also be taken into account by flow as they are not added to the general imports anymore even though they were there before?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apart from unit tests, the feature that is affected here is the bundle build.

Should the bundle include theme CSS imports? I don't know, but the current implementation didn't. So I assumed that my changes at some point produced a valid failure in the bundle ITs because of including CSS imports again. Ignoring here addresses this failure.

Copy link
Contributor

@caalador caalador Oct 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mshabarov what was the state for css in bundles.
From what I see in tests and code I would expect css to be bundles and Theme css especially

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see. Bundles were including the css, but stats.json wasn't indicating that, because it didn't consider the new file with their imports. Hope this change helps it: 9b23bc1

@vaadin vaadin deleted a comment from github-actions bot Oct 21, 2025
@CLAassistant
Copy link

CLAassistant commented Oct 22, 2025

CLA assistant check
All committers have signed the CLA.

@vaadin-bot vaadin-bot added +1.0.0 and removed +0.0.1 labels Oct 22, 2025
@vaadin-bot vaadin-bot added +0.0.1 and removed +1.0.0 labels Oct 22, 2025
@vaadin vaadin deleted a comment from github-actions bot Oct 22, 2025
@sonarqubecloud
Copy link

@platosha platosha merged commit bcc5452 into main Oct 24, 2025
62 of 66 checks passed
@platosha platosha deleted the fix/theme-cssimport-bootstrap branch October 24, 2025 09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Hilla applications using Lumo theme appear receive only base styles

4 participants